﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Objects.DataClasses;

namespace WA.Core.Employees.Model
{
    [EdmEntityType(Name = "FixedSalaryEmployee", NamespaceName = "WA.Core.Employees.Model")]
    public class FixedSalaryEmployee:Employee
    {
        private decimal salary;

        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable = false)]
        public decimal Salary
        {
            get { return salary; }
            set
            {
                this.PropertyChanging("Salary");
                salary = value;
                this.PropertyChanged("Salary");
            }

        }


    }
}
